<!DOCTYPE html>
<html lang="zh-cn">
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <title>阿里云，我又回来了 - Feng&#39;s Blog - 大灰鼠的博客</title>
  <meta name="renderer" content="webkit" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>

<meta http-equiv="Cache-Control" content="no-transform" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<meta name="theme-color" content="#f8f5ec" />
<meta name="msapplication-navbutton-color" content="#f8f5ec">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#f8f5ec">


<meta name="author" content="Feng" /><meta name="description" content="曾经因为域名备案的问题我离开了阿里云，又因为囊中羞涩选择了VULTR（VULTR是5刀一个月，是Linode的一半，不过一直都想用Linod" /><meta name="keywords" content="feng, 折腾人生, 电脑维修, 手机玩转, 技术心得, 拆机, 网站建设, 快乐悠悠, uu, 悠悠, 博客" />






<meta name="generator" content="Hugo 0.76.5 with theme even" />


<link rel="canonical" href="https://uu126.gitee.io/2015/224.html" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<link rel="mask-icon" href="/safari-pinned-tab.svg" color="#5bbad5">



<link href="/sass/main.min.c7bc1becf36bcf6a9ebd25d2947e43a2eb745ddb0c9a32b43126fd7fa460c351.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.css" integrity="sha256-7TyXnr2YU040zfSP+rEcz29ggW4j56/ujTPwjMzyqFY=" crossorigin="anonymous">


<meta property="og:title" content="阿里云，我又回来了" />
<meta property="og:description" content="曾经因为域名备案的问题我离开了阿里云，又因为囊中羞涩选择了VULTR（VULTR是5刀一个月，是Linode的一半，不过一直都想用Linod" />
<meta property="og:type" content="article" />
<meta property="og:url" content="https://uu126.gitee.io/2015/224.html" />
<meta property="article:published_time" content="2015-04-11T17:18:38+00:00" />
<meta property="article:modified_time" content="2015-04-11T17:18:38+00:00" />
<meta itemprop="name" content="阿里云，我又回来了">
<meta itemprop="description" content="曾经因为域名备案的问题我离开了阿里云，又因为囊中羞涩选择了VULTR（VULTR是5刀一个月，是Linode的一半，不过一直都想用Linod">
<meta itemprop="datePublished" content="2015-04-11T17:18:38+00:00" />
<meta itemprop="dateModified" content="2015-04-11T17:18:38+00:00" />
<meta itemprop="wordCount" content="1553">



<meta itemprop="keywords" content="RDS,服务器,阿里云," />
<meta name="twitter:card" content="summary"/>
<meta name="twitter:title" content="阿里云，我又回来了"/>
<meta name="twitter:description" content="曾经因为域名备案的问题我离开了阿里云，又因为囊中羞涩选择了VULTR（VULTR是5刀一个月，是Linode的一半，不过一直都想用Linod"/>

<!--[if lte IE 9]>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/classlist/1.1.20170427/classList.min.js"></script>
<![endif]-->

<!--[if lt IE 9]>
  <script src="https://cdn.jsdelivr.net/npm/html5shiv@3.7.3/dist/html5shiv.min.js"></script>
  <script src="https://cdn.jsdelivr.net/npm/respond.js@1.4.2/dest/respond.min.js"></script>
<![endif]-->

</head>
<body>
  <div id="mobile-navbar" class="mobile-navbar">
  <div class="mobile-header-logo">
    <a href="/" class="logo">Feng&#39;s Blog</a>
  </div>
  <div class="mobile-navbar-icon">
    <span></span>
    <span></span>
    <span></span>
  </div>
</div>
<nav id="mobile-menu" class="mobile-menu slideout-menu">
  <ul class="mobile-menu-list">
    <a href="/">
        <li class="mobile-menu-item">Home</li>
      </a><a href="/post/">
        <li class="mobile-menu-item">Archives</li>
      </a><a href="/tags/">
        <li class="mobile-menu-item">Tags</li>
      </a><a href="/links/">
        <li class="mobile-menu-item">Links</li>
      </a><a href="/ly/">
        <li class="mobile-menu-item">Ly</li>
      </a><a href="/about/">
        <li class="mobile-menu-item">About</li>
      </a>
  </ul>
</nav>
  <div class="container" id="mobile-panel">
    <header id="header" class="header">
        <div class="logo-wrapper">
  <a href="/" class="logo">Feng&#39;s Blog</a>
</div>

<nav class="site-navbar">
  <ul id="menu" class="menu">
    <li class="menu-item">
        <a class="menu-item-link" href="/">Home</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/post/">Archives</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/tags/">Tags</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/links/">Links</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/ly/">Ly</a>
      </li><li class="menu-item">
        <a class="menu-item-link" href="/about/">About</a>
      </li>
  </ul>
</nav>
    </header>

    <main id="main" class="main">
      <div class="content-wrapper">
        <div id="content" class="content">
          <article class="post">
    
    <header class="post-header">
      <h1 class="post-title">阿里云，我又回来了</h1>

      <div class="post-meta">
        <span class="post-time"> 2015-04-11 </span>
        <div class="post-category">
            <a href="/categories/%E6%88%91%E7%9A%84%E5%9C%B0%E7%9B%98/"> 我的地盘 </a>
            </div>
          <span class="more-meta"> 约 1553 字 </span>
          <span class="more-meta"> 预计阅读 4 分钟 </span>
        
      </div>
    </header>

    <div class="post-toc" id="post-toc">
  <h2 class="post-toc-title">文章目录</h2>
  <div class="post-toc-content always-active">
    <nav id="TableOfContents"></nav>
  </div>
</div>
    <div class="post-content">
      <p>曾经因为域名备案的问题我离开了阿里云，又因为囊中羞涩选择了VULTR（VULTR是5刀一个月，是Linode的一半，不过一直都想用Linode，结果……）的Tokyo机房，访问倒还好，丢包是不可避免的（据说Linode的Tokyo机房也会这样，当然频率比VULTR要低），没有自动快照只好使用多备份（把服务器帐号密码都交给它，心里也有一丝丝顾忌，可没办法呀），问题是服务器连续运行时间一长，挂的机率也会高起来点，不知道是不是有人“黑”我了（在阿里云里，经常会看到云盾有攻击提醒），这个也有可能是我用的时间不长，使用VULTR半个多月来，当机过2次（Tokyo机房官方维护也有2~3次了，太受欢迎了？），种种这些让人不禁怀念起阿里云，虽然在国外可以不太守规矩（其实我一直还是挺守的），但让我搬家的原因 还是备案问题，网址导航不能弄、博客可以有但不能开通评论功能等等，所以也就有了当时一怒之下搬家的事，不过这些现在想通了，博客不让我开通评论也没关系，反正我的博客访问量也不是那么大，而且就连那点访问的朋友都是只看不留言的（不知道是不是我文采不好，没看懂），关就关了吧，创建博客本就是为了方便自己学习记点笔记，至于有没有人看、有没有人要评论的那都是次要的，一切都淡然了。<br>
搬回到阿里云后，也不用担心这个那个了，自动快照让我不用再担心文件丢失的问题，用了RDS后数据就更不用担心了，OCS对于我这个小站来讲作用还是有限的（当然我也启用了），七牛也可以自定义域名了（那免费的三级域名太长了），网站的访问就不说了，肯定是比放在国外好多了（Tokyo也没那么快），而且最根本的一点——阿里云稳定，稳定的让我写写博客就行了，服务器维护那神马事根本就不用让我操心（貌似用上阿里云后丫就没操心过，当然自己折腾除外）。<br>
啰嗦了这么多，来说一下RDS吧（虽然不像OCS那样免费，那首次购买还是实惠的，50元/年），下面的内容就转载官方的了：<br>
<a href="http://uu126.cn/wp-content/uploads/2015/04/UU12620150411171644.jpg" alt="阿里云，我又回来了" title="阿里云，我又回来了" target="_blank"  rel="nofollow" ><img  class="aligncenter wp-image-1682"  class="lazyload" data-src="http://uu126.cn/wp-content/uploads/2015/04/UU12620150411171644.jpg" src="https://cdn.jsdelivr.net/gh/moezx/cdn@3.0.2/img/svg/loader/trans.ajax-spinner-preloader.svg" onerror="imgError(this)"  alt="UU12620150411171644" width="700" height="181" /></a>&lt;br / &gt;</p>
<noscript>
  <img class="aligncenter wp-image-1682" src="http://uu126.cn/wp-content/uploads/2015/04/UU12620150411171644.jpg" alt="UU12620150411171644" width="700" height="181" /></a><br />
</noscript> &nbsp;
<p><span style="font-size: medium;"><span style="font-family: 微软雅黑;"> 很多朋友在做<span id="rlt_8">数据</span>备份的时候，只是手工或定时把<span id="rlt_5">数据库</span>全量导出一下。其实这种备份方案会遇到一些<span id="rlt_1">问题</span>，例如：备份颗粒度不够细导致数据恢复不到想要的时间点，颗粒度够细就会抢占正常业务的资源，亦或是备份占用大量的存储空间等等。</span><span style="font-family: 微软雅黑;">其实<span style="text-decoration: underline;"><a id="url_1" href="http://www.aliyun.com/product/rds" target="_blank" rel="nofollow" >RDS</a> </span>已经给数据库做了全套的备份和恢复方案。</span></span><br>
<span style="font-size: medium;"><span style="font-family: 微软雅黑;"><br /> </span></span><br>
<span style="font-size: medium;"><span style="font-family: 微软雅黑;">        在说具体的备份和恢复方案之前，不得不先说下，<span style="text-decoration: underline;"><a id="url_2" href="http://www.aliyun.com/product/rds" target="_blank" rel="nofollow" >RDS</a> </span>采用的是</span><b><span style="font-family: 微软雅黑;">主从热备</span></b><span style="font-family: 微软雅黑;">的架构，当您<span id="rlt_3">购买</span>一台<span id="rlt_6">RDS</span>实例的时候，我们已经为您准备好了一台备用实例。主实例宕机或出现故障</span><b><span style="font-family: 微软雅黑;">30s</span><span style="font-family: 微软雅黑;">内<span id="rlt_2">自</span>动切换</span></b><span style="font-family: 微软雅黑;">到备实例。自动备份和手动临时备份都在备库上实现，不占用主实例资源。</span></span><br>
<span style="font-size: medium;"><span style="font-family: 微软雅黑;">下面我们来说下，RDS的全套备份和恢复方案：</span></span><br>
<span style="font-size: medium;"><span style="font-family: 微软雅黑;"><br /> </span></span><br>
<span style="font-size: medium;"><span style="font-family: 微软雅黑;">1.</span></span><span style="font-size: medium;"><span style="font-family: 微软雅黑;">提供</span></span><span style="font-size: large;"><b><span style="font-family: 微软雅黑;">7</span><span style="font-family: 微软雅黑;">天内数据恢复到任意时间点</span></b></span><span style="font-family: 微软雅黑;"><span style="font-size: medium;">（精确到秒）<a id="url_3" href="http://bbs.aliyun.com/read/159798.html?spm=5176.7189909.0.0.DQCJnM" target="_blank" rel="nofollow" >点此查看如何恢复&raquo;</a> </span><span style="font-size: medium;">，而且对用户不产生额外的费用。数据恢复可靠性承诺99.9%以上。数据恢复是通过创建临时实例实现的，不影响用户当前实例的正常运行。同一时刻，每个</span><span style="text-decoration: underline;"><a id="url_4" href="http://www.aliyun.com/product/rds" target="_blank" rel="nofollow" >RDS</a> </span><span style="font-size: medium;">实例最多只可创建一个临时实例，临时实例有效期为48小时，每天最多可触发10次。</span></span><br>
<span style="font-size: medium;"><b><span style="font-family: 微软雅黑;">2.</span></b><b><span style="font-family: 微软雅黑;">自动备份和临时备份，</span></b><a id="url_5" href="http://www.aliyun.com/product/rds" target="_blank" rel="nofollow" ><span style="text-decoration: underline;"><span style="font-family: 微软雅黑;">RD</span></span><span style="font-family: 微软雅黑;">S</span></a> <span style="font-family: 微软雅黑;">提供</span><b>不落地备份</b><span style="font-family: 微软雅黑;">。所有备份文件<span id="rlt_7">免费</span>保留</span><span style="font-family: 微软雅黑;">7</span><span style="font-family: 微软雅黑;">天。用户可以自行选择备份周期和备份开始时间（</span><span style="font-family: 微软雅黑;">MySQL</span><span style="font-family: 微软雅黑;">）。对于</span><span style="font-family: 微软雅黑;">SQL Server</span><span style="font-family: 微软雅黑;">类型实例，默认每天进行备份。用户也可以在业务需要时可随时进行临时性数据备份。备份提供<span id="rlt_10">下载</span>功能，备份成功率达</span><span style="font-family: 微软雅黑;">99.99% </span><span style="font-family: 微软雅黑;">。数据备份直接<span id="rlt_4">上传</span>到</span><span style="font-family: 微软雅黑;">OSS</span><span style="font-family: 微软雅黑;">，不占用</span><span style="text-decoration: underline;"><a id="url_6" href="http://www.aliyun.com/product/rds" target="_blank" rel="nofollow" >RDS</a> </span><span style="font-family: 微软雅黑;">磁盘空间，保证主机</span><span style="font-family: 微软雅黑;">I/O</span><span style="font-family: 微软雅黑;">写的压力降低</span><span style="font-family: 微软雅黑;">50%</span><span style="font-family: 微软雅黑;">以上。</span><br /> </span><br>
<span style="font-size: medium;"><b><span style="font-family: 微软雅黑;">3.</span></b><b><span style="font-family: 微软雅黑;">日志管理</span></b><span style="font-family: 微软雅黑;"> – 对于MySQL类型实例，会自动生成BINLOG文件，并提供下载功能，可用于本地增量恢复。BINLOG文件默认保留7天。对于SQLServer类型实例，<span style="text-decoration: underline;"><a id="url_7" href="http://www.aliyun.com/product/rds" target="_blank" rel="nofollow" >RDS</a> </span>会自动生成事务日志以用于备份和恢复，不可下载。</span></span><br>
<span style="font-size: medium;"><span style="font-family: 微软雅黑;">如用户对<span style="text-decoration: underline;"><a id="url_8" href="http://www.aliyun.com/product/rds" target="_blank" rel="nofollow" >RDS</a> </span>备份和恢复方案有更好的<span id="rlt_9">建议</span>和意见，也请告诉我们！谢谢！</span></span></p>

    </div>

    <div class="post-copyright">
  <p class="copyright-item">
    <span class="item-title">文章作者</span>
    <span class="item-content">Feng</span>
  </p>
  <p class="copyright-item">
    <span class="item-title">上次更新</span>
    <span class="item-content">
        2015-04-11
        
    </span>
  </p>
  
  
</div>
<div class="post-reward">
  <input type="checkbox" name="reward" id="reward" hidden />
  <label class="reward-button" for="reward">赞赏支持</label>
  <div class="qr-code">
    
    <label class="qr-code-image" for="reward">
        <img class="image" src="https://cdn.uu126.cn/hugo/wechat.png">
        <span>微信打赏</span>
      </label>
    <label class="qr-code-image" for="reward">
        <img class="image" src="https://cdn.uu126.cn/hugo/alipay.png">
        <span>支付宝打赏</span>
      </label>
  </div>
</div><footer class="post-footer">
      <div class="post-tags">
          <a href="/tags/rds/">RDS</a>
          <a href="/tags/%E6%9C%8D%E5%8A%A1%E5%99%A8/">服务器</a>
          <a href="/tags/%E9%98%BF%E9%87%8C%E4%BA%91/">阿里云</a>
          </div>
      <nav class="post-nav">
        <a class="prev" href="/2015/225.html">
            <i class="iconfont icon-left"></i>
            <span class="prev-text nav-default">Wordpress使用OSS存储上传的图片附件</span>
            <span class="prev-text nav-mobile">上一篇</span>
          </a>
        <a class="next" href="/2015/223.html">
            <span class="next-text nav-default">迷恋上了“飞行”</span>
            <span class="next-text nav-mobile">下一篇</span>
            <i class="iconfont icon-right"></i>
          </a>
      </nav>
    </footer>
  </article>
        </div>
        

  
  <div id="vcomments"></div>
  <script src="//cdn1.lncld.net/static/js/3.0.4/av-min.js"></script>
  <script src='//unpkg.com/valine/dist/Valine.min.js'></script>
  <script type="text/javascript">
    new Valine({
        el: '#vcomments' ,
        appId: '5sMkTX4FLjetFnfbOhaDTCDJ-9Nh9j0Va',
        appKey: '25KXCqIqAN142RQn4fBrsI87',
        notify:  false ,
        verify:  false ,
        avatar:'mm',
        placeholder: '说点什么吧...',
        visitor:  false 
    });
  </script>

  

      </div>
    </main>

    <footer id="footer" class="footer">
      <div class="social-links">
  <a href="https://uu126.gitee.io/index.xml" type="application/rss+xml" class="iconfont icon-rss" title="rss"></a>
</div>

<div class="copyright">
  <span class="copyright-year">  
  Hosted by <a href="https://pages.coding.me" style="font-weight: bold">Coding Pages</a> + <a href="https://cloud.tencent.com/redirect.php?redirect=1005&cps_key=4e78216aea817227ff0c96d93a00fd4b" target="_blank" rel="nofollow">腾讯云 + </a><a href="https://console.upyun.com/register/?invite=S1JeTquHL" target="_blank" rel="nofollow"><span class="with-love"><img src="https://cdn.lancn.cn/images/upyun.png" style="width:45px;vertical-align:middle;" alt="又拍云存储"></span></a>
   </span> 
  <div class="busuanzi-footer">
    <a target="_blank"  href="http://www.beian.miit.gov.cn">浙ICP备11026647号-3</a><span class="post-meta-divider"> | </span><a target="_blank" href="http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=33088102001325"><span class="with-love"><img src="https://cdn.uu126.cn/icon-police.png" style="width:14px;"></span> 浙公网安备33088102001325号</a>
  </div>
  <span class="power-by">
    由 <a class="hexo-link" href="https://gohugo.io">Hugo</a> 强力驱动
  </span>
  <span class="division">|</span>
  <span class="theme-info">
    主题 - 
    <a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
  </span>
   

  

  <span class="copyright-year">
    &copy; 
    2012 - 
    2020<span class="heart"><i class="iconfont icon-heart"></i></span><span>Feng</span>
  </span>
</div>

    </footer>

    <div class="back-to-top" id="back-to-top">
      <i class="iconfont icon-up"></i>
    </div>
  </div>
  <script src="/lib/highlight/highlight.pack.js?v=20171001"></script>
  <script src="https://cdn.jsdelivr.net/npm/jquery@3.2.1/dist/jquery.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/slideout@1.0.1/dist/slideout.min.js" integrity="sha256-t+zJ/g8/KXIJMjSVQdnibt4dlaDxc9zXr/9oNPeWqdg=" crossorigin="anonymous"></script>
  <script src="https://cdn.jsdelivr.net/npm/@fancyapps/fancybox@3.1.20/dist/jquery.fancybox.min.js" integrity="sha256-XVLffZaxoWfGUEbdzuLi7pwaUJv1cecsQJQqGLe7axY=" crossorigin="anonymous"></script>



<script type="text/javascript" src="/js/main.min.c12618f9a600c40bd024996677e951e64d3487006775aeb22e200c990006c5c7.js"></script>








</body>
</html>
